package cn.lzy.conditional;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @Description
 * @Author Administrator
 * @Date 2023/11/28 11:43
 * @Version
 **/
public class TestDemo {

    public static void main(String[] args) {
        AnnotationConfigApplicationContext ctx = new AnnotationConfigApplicationContext(JavaConfig.class);
        ShowCmd showCmd = ctx.getBean(ShowCmd.class);
        System.out.println("showCmd.cmd() = " + showCmd.cmd());
    }
}
